package com.itheima.io.fileoutputstream.demo02;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamDemo01 {

    public static void main(String[] args) throws IOException {

        FileOutputStream fileOutputStream = new FileOutputStream("itheima-io-fileoutputstream\\a.txt", true);

        fileOutputStream.write("say hello\r\n".getBytes());

        fileOutputStream.close();

    }

}
